import request from '../axios';
export function GetCategorys(data) {
    return request({
      url: '/category/getcategorys',
      method: 'get',
      params:data
    });
  }

  export function GetCategoryData(data) {
    return request({
      url: '/category/getcategorydata',
      method: 'get',
      params:data
    });
  }

  export function UpdateCategory(data) {
    return request({
      url: '/category/updatecategory',
      method: 'post',
      data:data
    });
  }

  export function AddCategory(data) {
    return request({
      url: '/category/addcategory',
      method: 'post',
      data:data
    });
  }